package com.aizuda.boot.modules.business.employee.domain.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;


/**
 * @author duanyao
 * @date 2022/12/05
 * @description: 根据姓名搜索员工DTO
 */
@Data
@Schema(description = "根据姓名搜索员工DTO")
public class SearchEmployeeByNameDTO {

    @Schema(description = "搜索关键词", required = true)
    @NotBlank(message = "搜索关键词不能为空")
    private String keyword;

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }
} 